import request from "@/utlis/request";
export default {
  // 获取分页信息
  getTeacherPageInfo(current, limit) {
    return request({
      url: `/edu_service/teacher_front/getTeacherFront/${current}/${limit}`,
      method: 'get'
    })
  },
  // 通过id获取讲师信息
  getTeacherById(id) {
    return request({
      url: `/edu_service/teacher/getTeacher/${id}`,
      method: 'get'
    })
  },
  // 通过id获取讲师课程信息
  getTeacherCourseById(id) {
    return request({
      url: `/edu_service/course_front/getTeacherCourseById/${id}`,
      method: 'get'
    })
  },

}
